package com.climber.services;

import com.climber.dao.BookDao;
import com.climber.pojo.Book1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookService {

    @Autowired
    BookDao bookDao;


    public List<Book1> getAllBook(){
        return bookDao.selectAllBook();
    }
}
